//
//  CollectionWebVC.m
//  Feel_at_home
//
//  Created by dlios on 15/9/30.
//  Copyright © 2015年 Feel_at_home. All rights reserved.
//

#import "CollectionWebVC.h"

@interface CollectionWebVC ()<UIWebViewDelegate>

@end

@implementation CollectionWebVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.myWebView = [[UIWebView alloc] initWithFrame:[[UIScreen mainScreen]bounds]];
    
    NSURLRequest *urlRequest = [NSURLRequest requestWithURL:[NSURL URLWithString:self.collectionM.url]];
    self.myWebView.delegate = self;
    [self.view addSubview:self.myWebView];
    [self.myWebView loadRequest:urlRequest];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
